var apps = {};
var appList = ObjC.classes.NSBundle;

for (var app in appList) {
    apps[app] = appList[app].bundleIdentifier();
}

console.log(apps);